/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.thinklite.ws.cxf.service;

import cn.thinklite.ws.cxf.vo.User;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author Zhaokeyong
 */
@WebService(endpointInterface = "cn.thinklite.ws.cxf.service.HelloService")
public class HelloWorld implements HelloService {

    @Override
    public String sayHello(String msg) {
        return "Server return: " + msg;
    }

    @Override
    public String helloUser(User user) {
        return "Server return: name:" + user.getName() + ", sex：" + user.getSex();
    }
}
